package com.leyou.common.auth.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @package com.leyou.common.auth.entity
 * @description: 载荷:UserInfo 实体类
 * @author: 许超越
 * @date 2019/7/7 15:49
 * @version: V1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfo {
    //用户的id
    private Long id;
    //用户名
    private String username;
    //用户角色(普通会员,管理者等)
    private String role;
}
